
export default {
  props: {
    userId: {
      type: String,
      default: ''
    },
    domainId: {
      type: String,
      default: ''
    }
  },
  data() {
    return {
      tableSelected: [], // 当前所选中表格行数据
      otherFilters: [] // 表格额外查询条件
    }
  },
  watch: {
    domainId(val, oldVal) {
      if (val) {
        this.refreshTable()
      }
    }
  },
  methods: {
    refreshTable() {
      if (this.domainId && this.userId) {
        setTimeout(() => {
          this.$refs.refTable && this.$refs.refTable.initTableData()
        }, 100)
      }
    }

  }
}
